<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<!--引入bootsrap-->
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.css"/>
		<script src="../js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/npm.js" type="text/javascript" charset="utf-8"></script>
		<!--引入jquery-->
		<script src="../js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
				
		<!--本地引入-->
		<link rel="stylesheet" type="text/css" href="../css/admin/title.css"/>
		
		<script type="text/javascript">
						
			$(function(){				
				setInterval("GetTime()", 1000);
			});
			
			function GetTime() {
		        var mon, day, now, hour, min, ampm, time, str, tz, end, beg, sec;		        
		        day = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
		        now = new Date();
		        hour = now.getHours();
		        min = now.getMinutes();
		        sec = now.getSeconds();
		        if (hour < 10) {
		            hour = "0" + hour;
		        }
		        if (min < 10) {
		            min = "0" + min;
		        }
		        if (sec < 10) {
		            sec = "0" + sec;
		        }
		        $("#timer").html(
		            now.getFullYear() + "年" + (now.getMonth() + 1) + "月" + now.getDate() + "日" + "  " 
		            	+ day[now.getDay()] + " "+ hour + ":" + min + ":" + sec
		        );
		    }
		</script>
		
	</head>
	<body>
		
		<div class="col-md-10">
			<p class="text-center title">丰哥商城管理后台</p>
		</div>
		<div class="col-md-2">
			<p class="text-right time"   id="timer"></p>
		</div>	
				
	</body>
</html>
